package com.prototype.prototypepattern.shallow;


/**
 * @Classname Client
 * @Description 工厂模式
 * @Date 2019/11/22 0022 12:25
 * @Created by 埔枘
 */
public class Client {
    private Prototype prototype;

    public Client(Prototype prototype){
        this.prototype = prototype;
    }

    public Prototype startClone(Prototype concretePrototype){
        return (Prototype)concretePrototype.clone();
    }
}